﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using sql表结构对比.Model;
namespace sql表结构对比.Repository
{
    class doctorRepository
    {
        SourTestEntities STEntity = new SourTestEntities();
        //通过部门code获取该条部门纪录
        public wx_dict_dept GetDept(string deptcode) {
            var dict_dept = STEntity.wx_dict_dept.Where(u => u.DeptCode == deptcode).FirstOrDefault();
            return dict_dept;
        }
    }
}
